package ca.seia.comp6521.a2.hashstorage;

public class PairPrimeHashStrategy implements HashStrategy{

	@Override
	public int getHashBucket(int value1, int value2) {
		final int prime = 31;
		int result = 1;
		result = prime * result + value1;
		result = prime * result + value2;
		
		return result;
	}

	@Override
	public HashStrategy get() {
		return new PairPrimeHashStrategy();
	}
	
}
